package com.wish.group05.base.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.List;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 楼盘信息表
 * </p>
 *
 * @author houzehui
 * @since 2022-05-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_premises_info")
public class PremisesInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String outsideId;

    /**
     * 楼盘名称
     */
    private String name;

    /**
     * 省
     */
    private Integer province;

    /**
     * 市
     */
    private Integer city;

    /**
     * 区
     */
    private Integer county;

    /**
     * 商圈
     */
    private String commercialArea;

    private String subway;

    /**
     * 地址
     */
    private String address;

    /**
     * 建筑面积
     */
    private Double proportion;

    /**
     * 容积率
     */
    private Double grossPlotRatio;

    /**
     * 绿化率
     */
    private Double greenCoverage;

    /**
     * 楼栋数
     */
    private Integer buildingCount;

    /**
     * 得房率
     */
    private Double efficiency;

    /**
     * 开发商
     */
    private String developer;

    /**
     * 物业管理公司
     */
    private String estate;

    /**
     * 楼盘简介
     */
    private String introduce;

    /**
     * 社区类型
     */
    private String communityType;

    /**
     * 建筑类型
     */
    private String buildingType;

    /**
     * 物业类型
     */
    private String premisesType;

    private Date updateTime;

    /**
     * 经度
     */
    private String longItude;

    /**
     * 纬度
     */
    private String latItude;

    // 周边配套
    @TableField(exist = false)
    private List<PremisesFacility> peripheralFacilities;
    // 交通情况
    @TableField(exist = false)
    private List<PremisesFacility> trafficCondition;
    //楼盘相册
    @TableField(exist = false)
    private List<Album> albumList;
    // 楼盘特色
    @TableField(exist = false)
    private List<Integer> configProperty;

    @TableField(exist = false)
    private List<Integer> shangquan;
    @TableField(exist = false)
    private List<Integer> ditie;


    @TableField(exist = false)
    private List<String> jianzhu;
    @TableField(exist = false)
    private List<String> shequ;
    @TableField(exist = false)
    private List<String> wuye;

}
